import { NextRequest } from 'next/server'
import { SheetController } from '@/lib/controllers/sheet.controller'

const sheetController = new SheetController()

// 保存表格数据
export async function POST(
  request: NextRequest,
  { params }: { params: { id: string } }
) {
  return await sheetController.saveSheetData(request, { params })
}